package com.ruoyi.mixuebingcheng.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.mixuebingcheng.domain.OrderTest;
import com.ruoyi.mixuebingcheng.domain.vo.OrderTestVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

/**
 * 【请填写功能名称】Mapper接口
 *
 * @author ruoyi
 * @date 2023-10-27
 */
public interface OrderTestMapper extends BaseMapperPlus<OrderTestMapper, OrderTest, OrderTestVo> {
    Long settleAccount(@Param("orderId")Long orderId, @Param("userId")Long userId);
    Long maxPickupCode();
    OrderTestVo selectOrderDetailVoById(Long id);
    Page<OrderTestVo> selectOrderDetail(@Param("page") Page<OrderTestVo> page, @Param("ew") Wrapper<OrderTest> wrapper);
}
